home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Musik / Misc / Amster / Source / include / hotlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  1.1 KB  |  49 lines

  1. /*
  2. ** Hotlist header
  3. */
  4.  
  5. #ifndef AMSTER_HOTLIST_H
  6. #define AMSTER_HOTLIST_H
  7.  
  8. #include "include/mui.h"
  9.  
  10. #define HOTLIST_LOAD           0x2001
  11. #define HOTLIST_SAVE           0x2002
  12. #define HOTLIST_UPLOAD         0x2003
  13. #define HOTLIST_SIGNON         0x2004
  14. #define HOTLIST_SIGNOFF        0x2005
  15. #define HOTLIST_REMOVE         0x2006
  16. #define HOTLIST_BROWSE         0x2007
  17. #define HOTLIST_FOUND          0x2008
  18. #define HOTLIST_NICK           0x2009
  19. #define HOTLIST_CLEAR          0x2010
  20. #define HOTLIST_TOGGLE         0x2011
  21. #define HOTLIST_TOGGLE_RESULTS 0x2012
  22. #define HOTLIST_SIGNOFF_ALL    0x2013
  23. #define HOTLIST_ADD            0x2014
  24.  
  25. /* Class instance data */
  26.  
  27. struct HotlistData {
  28.     u_long *LV_Hotlist, *LV_Search, *TG_Results, *ST_Nick;
  29. };
  30.  
  31. struct HotlistEntry {
  32.     char *Nick;
  33.     int Speed;
  34.     int Online;
  35. };
  36.  
  37. /* Public prototypes */
  38.  
  39. extern MUIF HotlistDispatch(REG(a0) struct IClass *cl, REG(a2) Object *obj, REG(a1) Msg msg);
  40. extern ULONG HotlistNew(struct IClass *cl, Object *obj, struct opSet *msg);
  41. extern void HotlistInterpret(u_int com, char *data);
  42.  
  43. /* Public variables */
  44.  
  45. extern BOOL HotlistChanged;
  46.  
  47.  
  48. #endif    /* AMSTER_HOTLIST_H */
  49.